/*********************
* Author:Dzlua
* QQ:505544956
* time:2016/08/10
*/
#ifndef __EDUI_BUTTON_H__
#define __EDUI_BUTTON_H__

#include "Event.h"

EDUI_NAMESPACE_BEGIN

class EDUI_API Button
{
public:
    Button();
    ~Button();
public:
    Event<10> click;
    Event1<Button*, 10> click1;
    Event2<Button*, int, 10> click2;
    Event3<Button*, int, const char*, 10> click3;

    Event2<Button*, const char*> click4;//equal to Event2<Button*, const char*, 1> click4;
    void check();
    
    void dump();
};

EDUI_NAMESPACE_END

#endif
